home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / p1b.htm < prev    next >
Encoding:
Extensible Markup Language  |  2006-08-04  |  4.7 KB  |  139 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE html
  3. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  4. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6.     <head>
  7.         <meta http-equiv="MSThemeCompatible" content="yes" />
  8.         <link href="ccc.css" type="text/css" rel="STYLESHEET" />
  9.         <script src="ccc.js"></script>
  10.         <script language="javascript">
  11.         <!--
  12.             function SetDataFields()
  13.             {
  14.                 var sCode = getParamVal("installationcode");
  15.                 if (sCode != null && sCode.length == 24)
  16.                 {
  17.                     var ss = sCode.split("-");
  18.                     if (ss.length == 5)
  19.                     {
  20.                         for (i = 0; i < 5; i++)
  21.                         {
  22.                             var oField = document.getElementById("txtInstCode" + (i + 1));
  23.                             if (oField != null)
  24.                                 oField.value = ss[i].toUpperCase();
  25.                         }
  26.                     }
  27.                 }
  28.                 sCode = getParamVal("key");
  29.                 if ((sCode != null) && (sCode.length > 0))
  30.                 {
  31.                     location = "pcucmd://StoreParam?key=" + sCode;
  32.                     var oKey = document.getElementById("txtKey");
  33.                     if (null != oKey)
  34.                     {
  35.                         oKey.value = sCode.toUpperCase();
  36.                         oKey.readOnly = true;
  37.                     } 
  38.                 }
  39.                 sCode = getParamVal("SourceID");
  40.                 var sNumDays = getParamVal("NumDays");
  41.                 if (sCode != null)
  42.                 {
  43.                     var oField = document.getElementById("txtID");
  44.                     if (oField != null)
  45.                     {
  46.                         if (sNumDays != null)
  47.                             sCode = sCode + " " + sNumDays;
  48.                         
  49.                         oField.value = sCode;
  50.                     }
  51.                 }
  52.             }
  53.             
  54.             function OnTxtFieldChanging()
  55.             {
  56.                 var oKey = document.getElementById("txtKey");
  57.                 var oAct = document.getElementById("txtActivationCode");
  58.                 
  59.                 if (oKey != null)
  60.                     location = "pcucmd://StoreParam?key=" + oKey.value;
  61.  
  62.                 if (oAct != null)
  63.                     location = "pcucmd://StoreParam?activationcode=" + oAct.value;
  64.  
  65.                 if (oKey != null &&    oAct != null && 
  66.                       ValidateSerial(oKey.value) && ValidateActCode(oAct.value))
  67.                 {
  68.                     location="pcucmd://CanContinue?enable=true";
  69.                 }
  70.                 else
  71.                 {
  72.                     location="pcucmd://CanContinue?enable=false";
  73.                 }
  74.             }
  75.         -->
  76.         </script>
  77.     </head>
  78.     <body onload="location='pcucmd://FrameDataLoaded'; SetDataFields();" tabindex="-1">
  79.         <div id="pcu_data" style="DISPLAY: none">
  80.             PageDimension:630,440
  81.         </div>
  82.         <div id="ButtonBar" style="display:none">
  83.             <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" ID="Table1">
  84.                 <tr>
  85.                     <td align="right" valign="middle">
  86.                         <button accesskey="B" type="button" id="btnBack" name="btnBack" onclick="location='pcucmd://Previous/'">< <u>B</u>ack</button>
  87.                         <button accesskey="O" type="submit" id="btnContinue" name="btnContinue" disabled="true" onclick="window.focus(); event.srcElement.focus(); location='pcucmd://Unlock/'; location='pcucmd://Next?condition=true'">C<u>o</u>ntinue</button>
  88.                         <button accesskey="C" type="button" id="btnCancel" name="btnCancel" onclick="window.focus(); event.srcElement.focus(); location='pcucmd://Cancel'"><u>C</u>ancel</button>
  89.                     </td>
  90.                 </tr>
  91.             </table>
  92.         </div>
  93.         <h3><b>Contact Corel Customer Support</b></h3>
  94.         Click the Customer Service button to see a listing of available Corel Customer 
  95.         Service phone numbers worldwide:
  96.         <p align="center">
  97.             <button accesskey="S" type="button" onclick="location='pcucmd://browse?url=' + ExpandRelativeURL('CCS-phone.htm')">Customer <u>S</u>ervice</button>
  98.         </p>
  99.         To proceed, enter the Key and Activation Code you receive from Customer Service 
  100.         in the corresponding spaces below.
  101.         <br />
  102.         <br />
  103.         <table width="100%">
  104.             <tr>
  105.                 <td width="25%" align="right">
  106.                     <label for="txtInstCode1" accesskey="I"><u>I</u>nstallation Code:</label>
  107.                 </td>
  108.                 <td width="75%">
  109.                     <input type="text" readonly="true" size="5" id="txtInstCode1" />-<input type="text" readonly="true" size="5" id="txtInstCode2" />-<input type="text" readonly="true" size="5" id="txtInstCode3" />-<input type="text" readonly="true" size="5" id="txtInstCode4" />-<input type="text" readonly="true" size="5" id="txtInstCode5" />
  110.                 </td>
  111.             </tr>
  112.             <tr>
  113.                 <td width="25%" align="right">
  114.                     <label for="txtKey" accesskey="K"><u>K</u>ey:</label>
  115.                 </td>
  116.                 <td width="75%">
  117.                     <input type="text" id="txtKey" size="40" onkeyup="OnTxtFieldChanging()" />
  118.                 </td>
  119.             </tr>
  120.             <tr>
  121.                 <td width="25%" align="right">
  122.                     <label for="txtActivationCode" accesskey="A"><u>A</u>ctivation Code:</label>
  123.                 </td>
  124.                 <td width="75%">
  125.                     <input type="text" id="txtActivationCode" size="40" onkeyup="OnTxtFieldChanging()" />
  126.                 </td>
  127.             </tr>
  128.             <tr>
  129.                 <td width="25%" align="right">
  130.                     <label for="txtID" accesskey="D">I<u>D</u>:</label>
  131.                 </td>
  132.                 <td width="75%">
  133.                     <input type="text" readonly="true" size="10" id="txtID" />
  134.                 </td>
  135.             </tr>
  136.         </table>
  137.     </body>
  138. </html>
  139.